package com.aaa.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Pay_Money {
    private Integer pay_id;
    private Integer pro_id;
    private BigDecimal pay_amount;
    private double pay_rate;
    private Integer h_id;
    private String pro_type;
    private String h_deadline;
    private String h_day;
    private Invest invest;
    private Product_type product_type;

    public Pay_Money(Integer pro_id, BigDecimal pay_amount, double pay_rate, Integer h_id) {
        this.pro_id = pro_id;
        this.pay_amount = pay_amount;
        this.pay_rate = pay_rate;
        this.h_id = h_id;
    }

    public Pay_Money(Integer pro_id, BigDecimal pay_amount, double pay_rate, String h_deadline, String h_day,Integer pay_id) {
        this.pay_id = pay_id;
        this.pro_id = pro_id;
        this.pay_amount = pay_amount;
        this.pay_rate = pay_rate;
        this.h_deadline = h_deadline;
        this.h_day = h_day;
    }
}
